package com.siyuanren.gcocp.mapper.base;

import com.siyuanren.gcocp.entity.WxVoucher;
import com.siyuanren.gcocp.entity.WxVoucherExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WxVoucherMapper {
    long countByExample(WxVoucherExample example);

    int deleteByExample(WxVoucherExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxVoucher record);

    int insertSelective(WxVoucher record);

    List<WxVoucher> selectByExample(WxVoucherExample example);

    WxVoucher selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxVoucher record, @Param("example") WxVoucherExample example);

    int updateByExample(@Param("record") WxVoucher record, @Param("example") WxVoucherExample example);

    int updateByPrimaryKeySelective(WxVoucher record);

    int updateByPrimaryKey(WxVoucher record);
}